/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sample;

import java.util.Date;

/**
 *
 * @author dthanh
 */
public class Schedule {

    private Student student;
    private Subject subject;
    private Date startTime;
    private Date endTime;
    private String room;
    private String seat;
    private String examType;
    private String note;

    public Schedule() {
        this.student = null;
        this.subject = null;
        this.startTime = null;
        this.endTime = null;
        this.room = "";
        this.seat = "";
        this.examType = "";
        this.note = "";
    }

    public Schedule(Student student, Subject subject, Date startTime, Date endTime,
            String room, String seat, String examType, String note) {
        this.student = student;
        this.subject = subject;
        this.startTime = startTime;
        this.endTime = endTime;
        this.room = room;
        this.seat = seat;
        this.examType = examType;
        this.note = note;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getExamType() {
        return examType;
    }

    public void setExamType(String examType) {
        this.examType = examType;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getRoom() {
        return room;
    }

    public void setRoom(String room) {
        this.room = room;
    }

    public String getSeat() {
        return seat;
    }

    public void setSeat(String seat) {
        this.seat = seat;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Subject getSubject() {
        return subject;
    }

    public void setSubject(Subject subject) {
        this.subject = subject;
    }
}
